import 'package:yeyu_net/yeyu_net.dart';
import 'package:flutter_bilibili/http/request/video_detail_request.dart';
import 'package:flutter_bilibili/model/video_detail_mo.dart';


class VideoDetailDao {
  static get(String vid) async {
    VideoDeatilRequest request = VideoDeatilRequest();
    request.pathParams = vid;
    var result = await YeyuNet.getInstance().fire(request);
    return VideoDetailMo.fromJson(result['data']);
  }
}
